# Example of the agent using a function:

#Consider agents: asd and bsd
# 1. Agent asd submits a scoring information for the agents bsd phrase "I didn't do it"

value = self.callFunction("strLen", "Common sense is not so common")
valueVal = ""
if(value > 0.5):
	valueVal = "high"
else:
	valueVal = "low"
framingFun = self.fun2Desc["strLen"]
framingText = "I do not like the phrase \"I didn\'t do it\" by agent asd because I find the attribute " + framingFun + " to be too " + valueVal
sendFeedback("I didn't do it", 0.5, framing, "I didn't do it")

# 2. Agent bsd gets a scoring information from agent asd

r = random.random()
feedback = Feedback("1", "62eb49e12fab557391bdd844a9efdd84", 'I didn\'t do it', "", 'This is the explanation by the creator', "", 0.5, "I do not like the phrase \"I didn\'t do it\" by agent asd because I find the attribute string length (teamagent_agentasd) to be too low")
fr = self.parseFraming(feedback)